
<template>
  <div class="infoList">
    <p>{{title}}</p>
    <div class="right">
      <slot name="img"></slot>
      <van-icon name="arrow" @click="$emit('fn')" />
    </div>
  </div>
</template>
    
<script>
export default {
  props: ['title'],
  name: '',
  components: {},
  data() {
    return {
    }
  },
  created() { },
  mounted() { },
  methods: {}
}
</script>
<style scoped lang='scss'>
.infoList {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin: 0 20px;
  font-size: 21px;
  border-bottom: 1px solid #eee;
}
</style>
    